<template>
  <h2>Child...</h2>
  <!-- <p>{{ modelValue }}</p>
  <button @click="$emit('update:modelValue', modelValue + 1)">update</button> -->
  <p>{{ msg }}</p>

  <p>{{ count }}</p>
  <button @click="$emit('update:count', count + 1)">update</button>
</template>

<script lang="ts">
import { defineComponent } from "vue";

export default defineComponent({
  name: "Child",
  // props: ["modelValue"],
  props: ["count", "msg"],
});
</script>

